package com.woniuxy.commons.service;

import com.woniuxy.commons.util.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author zhangyong
 * @Date 2021/8/6 0006上午 10:01
 */
@FeignClient(name = "AUTH")
public interface AuthService {
    //路径为完整路径
    @GetMapping("/auth/perms/{account}/{perms}")
    public ResponseResult existPerms(@PathVariable("account") String account, @PathVariable("perms") String perms);

}
